package com.demo.pojo.enums;

/**
*@Description:返回码
*@Param:
*@return:
*@Author: riant
*@date: 2021/3/15 22:49
*/
public enum Ret {
    SUCCESS(200,"SUCCESS"),FAIL(401,"FAIL"),UNKNOW(402,"UNKNOW");

    Ret(int code,String message) {
        this.code = code;
        this.message =message;
    }
    private int code;
    private String message;
    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
